package cn.jx.asc.mqtt.handle;

import org.springframework.stereotype.Component;

/**
 * @author z423
 * @2021-06-13-16:53
 * @effect
 * @especial
 */
@Component
public interface MessageHandler {
    /**
     * message handle
     * @param msgId   message id
     * @param msgBody message body
     */
    void handle(Long msgId, String msgBody);
}
